package com.alks.function.data.request.finance.salary;

import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDate;

@Getter
@Setter
@NoArgsConstructor
public class getEmployeeRequest extends PageParam {

    @ApiModelProperty("部门")
    private String deptName;

    @ApiModelProperty("工号")
    private String workerId;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("身份证号码")
    private String idNo;

    @ApiModelProperty("职务")
    private String position;

    @ApiModelProperty("工种")
    private String workType;

    @ApiModelProperty("计算类型")
    private String calcType;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty("入厂开始时间")
    private LocalDate inTime;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty("入厂结束时间")
    private LocalDate outTime;

    @ApiModelProperty("开户名")
    private String bankCardUser;

    @ApiModelProperty("开户行")
    private String bankCardName;

    @ApiModelProperty("银行卡号")
    private String bankCardId;

    @ApiModelProperty("状态 1在职 2离职")
    private BigDecimal status;

    @ApiModelProperty("null 全部,1 手动变更")
    private Integer flag;
}
